# import sys
# file = sys.stdout
# file.write("hello world\n")
# print("hello world")
file = open('test.txt','r')
print(file.read())

with open('test.txt','r') as file2:
    print(file2.read())